{% load static %}
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>设备维修费查询 - {{ title }}</title>
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1/css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'plugins/multiple-select-1.5.2/multiple-select.min.css' %}">
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-table-1.21.4/bootstrap-table.min.css' %}">
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid"> <!-- <div class="container-fluid"> 页面固定宽度\全屏宽度-->
        <div class="navbar-header">
            <img class="navbar-header" src="{% static 'img/bwlogo-sbwxf.png' %}">
            <span>　　</span>
        </div>

        <div class="collapse navbar-collapse" style="margin-top: 7px" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="{{ active1 }}"><a href="/contract/year/list/"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>年度合同</a></li>
                <li class="{{ active2 }}"><a href="/contract/other/list/"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>其他合同</a></li>
                <li class="{{ active3 }}"><a href="/contract/old/list/"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>报支合同<span class="sr-only">(current)</span></a></li>
                <li class="{{ active7 }}"><a href="/receive/list/"><span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>领用清单<span class="sr-only">(current)</span></a></li>
                <li class="{{ active6 }}"><a href="/receive/group/list/"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>点检员物料费查询<span class="sr-only">(current)</span></a></li>
                <li class="{{ active4 }}"><a href="/contract/summary/list/"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>汇总统计<span class="sr-only">(current)</span></a></li>
                {% if request.session.info.admin %}
                    <li  class="{{ active5 }}"><a href="/user/list/"><span class="glyphicon glyphicon-apple" aria-hidden="true"></span>用户管理<span class="sr-only">(current)</span></a></li>
                {% endif %}


                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                            <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
                            {% if request.session.info.admin %}
                                <span style="color: blue;">管理员</span>
                            {% endif %} {{ request.session.info.employeeid }} {{ request.session.info.name }}<span
                                class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/user/password/?employeeid={{ request.session.info.employeeid }}">修改密码</a></li>
                            <li role="separator" class="divider"></li>
                            <li style="alignment: right"><a href="/logout/">注销</a></li>
                        </ul>
                    </li>
                </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div>
    {% block content %}
    {% endblock %}
</div>

<script src="{% static 'js/jquery-3.5.1.min.js' %}"></script>
<script src="{% static 'plugins/bootstrap-3.4.1/js/bootstrap.min.js' %}"></script>
<script src="{% static 'plugins/multiple-select-1.5.2/multiple-select.min.js' %}"></script>
<script src="{% static 'plugins/bootstrap-table-1.21.4/bootstrap-table.min.js' %}"></script>
<script src="{% static 'plugins/bootstrap-table-1.21.4/locale/bootstrap-table-zh-CN.min.js' %}"></script>

{% block js %}
{% endblock %}

</body>
</html>